package com.airagg.module.provider;

import com.airagg.module.entity.Module;
import com.airagg.module.mapper.ModuleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/4/3.
 */
@Service
public class ModuleServiceImpl implements ModuleService {

    @Autowired
    private ModuleMapper moduleMapper;


    @Override
    public List<Module> findAllModules(String id) {
        return moduleMapper.findAllModules(id);
    }
}
